from rest_framework import serializers
from apps.goods.models import *


class SKUImageSerializer(serializers.ModelSerializer):

    class Meta:
        model = SKUImage
        fields = ("id", "sku", "image")


class SKUSerializer(serializers.ModelSerializer):

    class Meta:
        model = SKU
        fields = ("id", "name")
